//
//  TrainingModel.swift
//  Fitness
//
//  Created by duanwenpu on 2021/9/9.
//

import Foundation

struct TrainingModel: Identifiable, Codable {
    var id: Int
    var actionName: String
    var actionTimes: String
    var perWeight: String
    var restTime: String
}

struct TrainingGroupModel: Identifiable, Codable {
    var id: Int
    var whatDay: String
    var groupName: String
    var trainingArray: [TrainingModel]
}

struct EveryDayTrainingModel:Identifiable, Codable {
    var id: Int
    var whatDay: String
    var trainingGroupArray: [TrainingGroupModel]
}
